﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GKQC.DbHelper.ViewModels
{
    public class BaseDataView
    {
        public BaseDataView()
        {
            this.Code = string.Empty;
            this.Name = string.Empty;
        }

        public BaseDataView(string Code, string Name, string erpCode="", bool flag = false, string type="")
        {
            this.Type = type;
            this.Code = Code;
            this.Name = Name;
            this.ErpCode = erpCode;
            this.Flag = flag;
        }



        public BaseDataView(int id, string name)
        {
            this.Id = id;
            this.Name = name;
        }

        public bool Flag { get; set; }

        public string Code { get; set; }
        public string Type { get; set; }
        public int Id { get; set; }
        public string Name { get; set; }
        public string ErpCode { get; set; }
    }
}
